@document({name: "正则校验函数"})
@dslClass({ language: "java", code: "com.inspur.edp.rule.dsl.core.function.regex.RegexUtils"})
export class RegexUtils {

   @document({name: "正则校验"})
   public static matches(@document({name:"正则表达式"}) regex:string ,@document({name:"要校验的字符串"}) str:string ) : boolean ;

}